class Restaurant:
    '''a simple simulation of a  reataurant'''
    def __init__(self,restaurant_name,cuisine_type):
        '''Initialization attribute name and type'''
        self.restaurant_name=restaurant_name
        self.cuisine_type=cuisine_type

    def describe_restaurant(self):
        print(f"The name of restaurant is {self.restaurant_name}")
        print(f"The cuisine of restaurant is {self.cuisine_type}")

    def open_restaurant(self):
        print(f"The {self.restaurant_name} is in business.")

class IceCreamStand(Restaurant):

    def __init__(self,restaurant_name,cuisine_type,*favors):
        super().__init__(restaurant_name,cuisine_type)
        self.favors=favors
    
    def printfavours(self):
        print("The icecream's favours is :")
        for favour in self.favors:
            print(favour,end=' ')
        print(self.favors)

icecream=IceCreamStand('KFC','icecream','fucker','lover','yeah')
icecream.printfavours()
